<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Welcome</title>
</head>

<body>
    <form action="/register" method="post">
        用户名: <input type="text" name="username"><br>
        密码: <input type="password" name="password"><br>
        爱好:
        <input type="checkbox" name="hobby" value="swiming">游泳
        <input type="checkbox" name="hobby" value="basketball">篮球 
        <br>
        性别：<input type="radio" name="gender" id="1" value="m">男
        <input type="radio" name="gender" id="2" value="f">女 
        <br>
        城市: <select name="city">
                <option value="beijing">北京</option>
                <option value="shanghai">上海</option>
            </select> 
        <br> 
        <input type="submit" value="注册">
    </form>
</body>

</html>